/**
 * Created by Administrator on 2017/10/17.
 */
public class Node {
    private Object daata;
    private Node next;

    public Object getDaata() {
        return daata;
    }

    public Node(Object daata, Node next) {
        this.daata = daata;
        this.next = next;
    }

    public void setDaata(Object daata) {
        this.daata = daata;
    }

    public Node(Object daata) {
        this(daata,null);
    }

    public Node getNext() {
        return next;
    }

    public void setNext(Node next) {
        this.next = next;
    }

    public Node() {
        this(null,null);
    }
}